home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / EDITLOCALROLES.DTML < prev    next >
Encoding:
Text File  |  1999-11-03  |  1.5 KB  |  59 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  2. <html lang="en">
  3. <head>
  4. <title>Manage Local Roles</title>
  5. </head>
  6. <body bgcolor="#FFFFFF" link="#000099" vlink="#555555" alink="#77003B">
  7. <dtml-if manage_tabs>
  8. <dtml-var manage_tabs>
  9. </dtml-if>
  10.  
  11. <p>
  12. <strong>Local roles</strong> allow you to give particular users extra roles 
  13. in the context of this object, in addition to the roles they already have. 
  14. </p>
  15.  
  16. <p>
  17. To change the local roles for this user, select the extra roles this 
  18. user should have in the context of this object and click the <em>Change</em> 
  19. button.
  20. </p>
  21.  
  22. <form action="manage_setLocalRoles" method="POST">
  23. <table cellspacing="2" border="0">
  24. <tr>
  25.   <td align="left" valign="top">
  26.   <strong>User</strong>
  27.   <br>
  28.   <dtml-var userid>
  29.   </td>
  30.  
  31.   <td align="left" valign="top">
  32.   <strong>Roles</strong>
  33.   <br>
  34.   <input type="hidden" name="userid" value="<dtml-var userid html_quote>">
  35. <dtml-with "_(user_roles=get_local_roles_for_userid(userid))">
  36.   <select name="roles:list" size="5" multiple>
  37. <dtml-in valid_roles><dtml-if 
  38. "_vars['sequence-item'] not in ('Anonymous', 'Shared')">
  39. <option value="<dtml-var sequence-item html_quote>"<dtml-if 
  40. "_['sequence-item'] in user_roles"> selected</dtml-if>><dtml-var 
  41. sequence-item>
  42. </dtml-if>
  43. </dtml-in>
  44.   </select>
  45. </dtml-with>
  46.   </td>
  47. </tr>
  48. <tr>
  49.   <td align="left" valign="top">
  50.   <input type="submit" value="Change">
  51.   </td>
  52.   <td></td>
  53. </tr>
  54. </table>
  55. </form>
  56.  
  57. </body>
  58. </html>
  59.